package com.cmwa.scbp.sys.institution.dao;

import java.util.HashMap;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.cmwa.scbp.base.annotation.MybatisDao;
import com.cmwa.scbp.base.mvc.entity.SearchParam;
import com.cmwa.scbp.sys.institution.entity.InstitutionVo;

@MybatisDao
public interface InstitutionDao {
	public List<InstitutionVo> getInstitutionList(InstitutionVo institutionVo);
	
	public void insertInstitutionInfo(InstitutionVo institutionInfo);
	
	
	
	public void physicDeleteInstitutionInfoById(@Param("id") String id);
	
		
		
	public void logicDeleteInstitutionInfoById(@Param("id") String id);
	
		
		
	public void updateInstitutionInfoById(InstitutionVo institutionInfo);
	
		
		
	public List<InstitutionVo> institutionInfoListPage(SearchParam sp);
	
	
		
	public InstitutionVo getInstitutionInfoById(@Param("id") String id);
	
	List<InstitutionVo> getInstListLimit(@Param("name")String name, @Param("limit")Integer limit);
	
	int getCountByParam(HashMap<String, Object> param);
}
